|
![](/i/fill.gif) |
In article <3a9629a5@news.povray.org>, "Tom Melly" <tom### [at] tomandlu co uk>
wrote:
> Presumably the answer is "No", but is it possible to test directly whether
> the intersection of two objects actually resulted in any actual shape (a
> collision) or not?
"No"
You will have to do something like scan across the intersection of the
bounding boxes with trace() or inside_object() (or the InObj() macro) to
find out if there is anything left. And then there is the possibility
that you simply missed it because you didn't scan the bounding area at a
high enough resolution, and it would be slow, even if patched into
POV...and you wouldn't be able to detect if an object just touches
another this way.
--
Christopher James Huff
Personal: chr### [at] mac com, http://homepage.mac.com/chrishuff/
TAG: chr### [at] tag povray org, http://tag.povray.org/
<><
Post a reply to this message
|
![](/i/fill.gif) |